package com.hioove.core.web.model;

import java.util.List;
import java.util.Map;

/**
 * web ServletRequest
 */
public class ServletRequest {
    // 返回参数
    private Map<String, Object> param;
    // 请求地址
    private String url;
    // 请求类型
    private String methorType;
    // 字符数据
    private byte[] content;
    // 请求头信息
    private List<Map.Entry<String, String>> headers;

    public Map<String, Object> getParam() {
        return param;
    }

    public void setParam(Map<String, Object> param) {
        this.param = param;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getMethorType() {
        return methorType;
    }

    public void setMethorType(String methorType) {
        this.methorType = methorType;
    }

    public List<Map.Entry<String, String>> getHeaders() {
        return headers;
    }

    public void setHeaders(List<Map.Entry<String, String>> headers) {
        this.headers = headers;
    }

    public byte[] getContent() {
        return content;
    }

    public void setContent(byte[] content) {
        this.content = content;
    }
}
